//
// Created by admin on 2024/8/16.
//

#ifndef HBAND_CONFIG_H
#define HBAND_CONFIG_H

#endif //HBAND_CONFIG_H

#include <I2C_BM8563.h>
#include <Wire.h>
#include <Arduino.h>

#if CONFIG_FREERTOS_UNICORE
#define ARDUINO_RUNNING_CORE 0
#else
#define ARDUINO_RUNNING_CORE 1
#endif

#define SDA_PIN 1
#define SCL_PIN 0
#define BUTTON_PIN 2
#define EN_PIN 3
#define BAT_PIN 4
#define LED_PIN 5
#define WLED_PIN 6
#define BEE_PIN 12
#define TEMP_PIN 13

#define LED_PWM_CHANNEL 0
#define BEE_PWM_CHANNEL 1

#define SCREEN_WIDTH 128 // OLED display width, in pixels
#define SCREEN_HEIGHT 64 // OLED display height, in pixels

#define OLED_RESET     -1 // Reset pin # (or -1 if sharing Arduino reset pin)
#define SCREEN_ADDRESS 0x3D ///< See datasheet for Address; 0x3D for 128x64, 0x3C for 128x32


extern I2C_BM8563_DateTypeDef dateStruct;
extern I2C_BM8563_TimeTypeDef timeStruct;